home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Code
/
Chapter Code.exe
/
Chapter04
/
texture.S3D
< prev
next >
Wrap
Text File
|
2000-09-01
|
2KB
|
59 lines
Background {
color 0 0 0
}
DEF Box01 Transform {
translation 0 0 0
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.5373 0.1961 0.1961
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
diffuseMap DiffuseMap {
texture ImageTexture {
url "Yellobrk.JPG"
}
}
}
]
geometry MultiMesh {
coord DEF Box01-COORD Coordinate {
point [
-50 0 50 50 0 50 -50 0 -50
50 0 -50 -50 100 50 50 100 50
-50 100 -50 50 100 -50
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1
0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1
3 2 6 -1 6 7 3 -1 2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1
5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
TextureMapping {
texCoord TextureCoordinate {
point [
0.0004995 0.0004995 0.9995 0.0004995
0.0004998 0.0004995 0.9995 0.0004995
0.0004995 0.9995 0.9995 0.9995
0.0004998 0.9995 0.9995 0.9995
]
}
}
]
}
}
]
}